package com.yan.dao;

import com.yan.pojo.Teacher;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TeacherMapper {

    List<Teacher> getTeacherList();

    public boolean addTeacher(Teacher teacher);

    public Teacher getTeacherById(Integer teacherId);

    public boolean delTeacherById(Integer id);

    public boolean updatePassword(Teacher teacher);

    public Teacher getTeacherByName(String name);

    public boolean saveEditTeacher(Teacher teacher);





}
